.class public Ljavax/microedition/io/Connector;
.super Ljava/lang/Object;
.source "Connector.java"


# static fields
.field public static final READ:I = 0x1

.field public static final READ_WRITE:I = 0x3

.field public static final WRITE:I = 0x2


# direct methods
.method private constructor <init>()V
    .locals 0

    .prologue
    .line 44
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 46
    return-void
.end method

.method public static open(Ljava/lang/String;)Ljavax/microedition/io/Connection;
    .locals 1
    .parameter "name"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 49
    invoke-static {p0}, Lorg/microemu/microedition/ImplFactory;->getCGFImplementation(Ljava/lang/String;)Lorg/microemu/microedition/io/ConnectorDelegate;

    move-result-object v0

    invoke-interface {v0, p0}, Lorg/microemu/microedition/io/ConnectorDelegate;->open(Ljava/lang/String;)Ljavax/microedition/io/Connection;

    move-result-object v0

    return-object v0
.end method

.method public static open(Ljava/lang/String;I)Ljavax/microedition/io/Connection;
    .locals 1
    .parameter "name"
    .parameter "mode"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 53
    invoke-static {p0}, Lorg/microemu/microedition/ImplFactory;->getCGFImplementation(Ljava/lang/String;)Lorg/microemu/microedition/io/ConnectorDelegate;

    move-result-object v0

    invoke-interface {v0, p0, p1}, Lorg/microemu/microedition/io/ConnectorDelegate;->open(Ljava/lang/String;I)Ljavax/microedition/io/Connection;

    move-result-object v0

    return-object v0
.end method

.method public static open(Ljava/lang/String;IZ)Ljavax/microedition/io/Connection;
    .locals 1
    .parameter "name"
    .parameter "mode"
    .parameter "timeouts"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 57
    invoke-static {p0}, Lorg/microemu/microedition/ImplFactory;->getCGFImplementation(Ljava/lang/String;)Lorg/microemu/microedition/io/ConnectorDelegate;

    move-result-object v0

    invoke-interface {v0, p0, p1, p2}, Lorg/microemu/microedition/io/ConnectorDelegate;->open(Ljava/lang/String;IZ)Ljavax/microedition/io/Connection;

    move-result-object v0

    return-object v0
.end method

.method public static openDataInputStream(Ljava/lang/String;)Ljava/io/DataInputStream;
    .locals 1
    .parameter "name"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 61
    invoke-static {p0}, Lorg/microemu/microedition/ImplFactory;->getCGFImplementation(Ljava/lang/String;)Lorg/microemu/microedition/io/ConnectorDelegate;

    move-result-object v0

    invoke-interface {v0, p0}, Lorg/microemu/microedition/io/ConnectorDelegate;->openDataInputStream(Ljava/lang/String;)Ljava/io/DataInputStream;

    move-result-object v0

    return-object v0
.end method

.method public static openDataOutputStream(Ljava/lang/String;)Ljava/io/DataOutputStream;
    .locals 1
    .parameter "name"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 65
    invoke-static {p0}, Lorg/microemu/microedition/ImplFactory;->getCGFImplementation(Ljava/lang/String;)Lorg/microemu/microedition/io/ConnectorDelegate;

    move-result-object v0

    invoke-interface {v0, p0}, Lorg/microemu/microedition/io/ConnectorDelegate;->openDataOutputStream(Ljava/lang/String;)Ljava/io/DataOutputStream;

    move-result-object v0

    return-object v0
.end method

.method public static openInputStream(Ljava/lang/String;)Ljava/io/InputStream;
    .locals 1
    .parameter "name"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 69
    invoke-static {p0}, Lorg/microemu/microedition/ImplFactory;->getCGFImplementation(Ljava/lang/String;)Lorg/microemu/microedition/io/ConnectorDelegate;

    move-result-object v0

    invoke-interface {v0, p0}, Lorg/microemu/microedition/io/ConnectorDelegate;->openInputStream(Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v0

    return-object v0
.end method

.method public static openOutputStream(Ljava/lang/String;)Ljava/io/OutputStream;
    .locals 1
    .parameter "name"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 73
    invoke-static {p0}, Lorg/microemu/microedition/ImplFactory;->getCGFImplementation(Ljava/lang/String;)Lorg/microemu/microedition/io/ConnectorDelegate;

    move-result-object v0

    invoke-interface {v0, p0}, Lorg/microemu/microedition/io/ConnectorDelegate;->openOutputStream(Ljava/lang/String;)Ljava/io/OutputStream;

    move-result-object v0

    return-object v0
.end method
